package com.jintian.smart.base.api.security.form;

import com.jintian.smart.base.api.security.constant.DataTracerTypeEnum;
import com.jintian.smart.kernel.core.enumeration.SchemaEnum;
import com.jintian.smart.base.api.security.view.DataTracerVO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.beetl.sql.core.page.DefaultPageRequest;

/**
 * 查询表单
 */
@Data
public class DataTracerQueryForm extends DefaultPageRequest<DataTracerVO> {
    @SchemaEnum(DataTracerTypeEnum.class)
    private Integer type;

    @Schema(description = "业务id")
    @NotNull(message = "业务id不能为空")
    private Long dataId;

    @Schema(description = "关键字")
    private String keywords;
}
